﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using sharp_net;

namespace zkdao.Host.InfoService {

    public partial class InfoData {

    }

    public class InfoSubmit {

        [Required]
        [StringLength(100, ErrorMessage = "{0} 不得超过 {2} 位字符。")]
        [Display(Name = "标题")]
        public string Title { get; set; }

        [Required]
        [DataType(DataType.MultilineText)]
        [Display(Name = "正文")]
        public string ContentRich { get; set; }

        [Display(Name = "标签")]
        public String TagIDs { get; set; }
    }
}